package com.example.caoh.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Select;

import com.example.caoh.entity.SysResources;
import com.example.caoh.utils.MyMapper;

public interface SysResourcesMapper extends MyMapper<SysResources> {

	@Select("select resource_id from role_resources where role_id=#{roleId}")
	List<String> findResIdByRoleId(String roleId);

	List<Map<String, Object>> listRoleMenu(String roleId);
}